package com.app.feign;/*
  @author 阿伟
  @create 2020-11-30:16:47
*/

import com.common.entity.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("web")
//@RequestMapping("/pile")测试
public interface PileOpenFeign {
    //通过电桩id获取电桩信息
    @GetMapping("/pile/getOne")
    ResponseResult getOne(@RequestParam("pileId") String pileId);
}
